<?php

    if ($this->getModule() !== null) {
        $pageId = $this->getModule() . '-' . $this->getName();
    } else {
        $pageId = $this->getName();
    }

?>
<!doctype html>
<html lang="en">
    <head>
        <title>Example layout</title>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <style type="text/css" media="screen">
            @import '<?php echo $request->getBaseUrl(); ?>/css/default.css';
        </style>
    </head>
    <body id="<?php echo $pageId; ?>">
        <h1>This is the example layout</h1>
        <p>Check src/layouts/example.php for the source code of the layout.</p>
        <p>$exampleVar: <?php echo $exampleVar; ?></p>
        
        <?php echo $this->getOutput(); ?>
    </body>
</html>